package com._54programer.rabbitmq.simple;

import com.rabbitmq.client.Channel;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import java.io.IOException;


//@Component
//@RabbitListener(queues = "simple_queue")
//public class SimpleConsumer {
//
//    @RabbitHandler
//    public void testListener(String message){
//        System.out.println("msg: "+message);
//    }
//
//}
